package com.woniuxy.entity;

import java.io.Serializable;

public class Customer extends Accont implements Serializable{
      /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private char sex;
      private String idCard;
      
      
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Customer [sex=" + sex + ", idCard=" + idCard + "]";
	}
	public Customer(String userName,String userPass,char sex, String idCard) {
		super(userName,userPass);
		this.sex = sex;
		this.idCard = idCard;
	}
	/**
	 * @return the sex
	 */
	public char getSex() {
		return sex;
	}
	/**
	 * @param sex the sex to set
	 */
	public void setSex(char sex) {
		this.sex = sex;
	}
	/**
	 * @return the idCard
	 */
	public String getIdCard() {
		return idCard;
	}
	/**
	 * @param idCard the idCard to set
	 */
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
     
}
